package com.yuwei.live.adapter

import com.chad.library.adapter.base.BaseQuickAdapter
import com.chad.library.adapter.base.viewholder.BaseViewHolder
import com.yuwei.live.R
import com.yuwei.live.entity.RankingEntityItem

class BottomHotAdapter: BaseQuickAdapter<RankingEntityItem, BaseViewHolder>(
    R.layout.item_bottom_hot
) {
    override fun convert(holder: BaseViewHolder, item: RankingEntityItem) {
        holder.setText(R.id.order,"${holder.adapterPosition+4}")
        holder.setText(R.id.room_name,item.room_name)
    }
}